package com.c212.manager.repository;

import com.c212.manager.bean.UserInfoEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserInfoRepository extends JpaRepository<UserInfoEntity, Integer> {

    UserInfoEntity findByLoginIdAndLoginPwd(String userName, String pwd);

    UserInfoEntity findByLoginId(String loginId);
}
